<?php
/*
 * Created on 04/05/2008
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */

include '../conexao.php';

if(!empty($_GET["valor"]))
{
?>
<table class="tableFiltro" width="100%" align="left" cellpadding="2" cellspacing="5">
	<tr>
		<td colspan="2"><b>Nome Paciente:</b><br>
			<input type="text" style="width: 80%" name="nomeProc"/>
		</td>
		<td class="abutton" align="right" valign="top">
			<a href="javascript:void(1);" onclick="javascript:carregaAjax('filtro', 'autorizacao/filtro.php');">[X]</a>
		</td>
	</tr>
	<tr>
                <td width="45%"><b>CPF:</b><br>
			<input type="text" style="width: 80%" name="cpfProc" onkeypress="mascara(this,mcpf)" maxlength="14"/>
		</td>
		<td colspan="3" class="abutton" align="right" valign="bottom">
			<a href="javascript:void(1);" 
			onclick="javascript:carregaDiv('page', 'autorizacao/listaAut.php', forms['listaAut']);">
			Filtrar
			</a>
		</td>
	</tr>
</table>
<?
}
else
{
?>

<?}?>